package com.ticketbox.ejb.session.interfaces;

import java.util.Vector;

import javax.ejb.Local;

import com.ticketbox.entity.Phase;
import com.ticketbox.entity.Ticket;
import com.ticketbox.entity.User;

@Local
public interface TicketFacadeLocal {
	
	public void createTicket(Ticket ticket);
	
	public void modifyTicket(int id, Ticket ticket);
	
	public void modifyTicket(Ticket ticket);
	
	public User getTicketById(int id);
	
	public Vector<Ticket> findAllTickets();
	
	public Vector<Ticket> findTicketsByUser(User user);
	
	public Vector<Ticket> findTicketsByPhase(Phase phase);
	
	public void deleteTicket(int id);
	
}
